package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Schedule;
import com.atguigu.yygh.vo.hosp.ScheduleQueryVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface ScheduleService {
    /**上传排班接口**/
    void save(Map<String, Object> paramMap);

    /**排班分页查询**/
    Page<Schedule> findPageSchedule(int page, int limit, ScheduleQueryVo scheduleQueryVo);

    /**删除排班**/
    void remove(String hoscode, String HosScheduleId);

    /**根据医院编号和科室编号查询**/
    Map<String, Object> getRuleSchedule(long page, long limit, String hoscode, String depcode);

    /**根据数据id查询子数据列表**/
    List<Schedule> getDetailSchedule(String hoscode, String depcode, String workDate);
}
